package com.bdqn.petmalldemo.bo;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:彭俊
 * @description:更新用户信息条件实体类
 * @date:2020/2/171502
 */
@Data
@ApiModel
public class UserUpdateBo implements Serializable {
    private static final long serialVersionUID = -8979736851835339899L;
    @ApiModelProperty(value = "真实姓名")
    private String realname;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "性别")
    private Integer gender;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "邮政编码")
    private String zipcode;
    @ApiModelProperty(value = "登录token")
    private String token;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
